package com.woniuxy.carlife.service;

import com.woniuxy.carlife.domain.Store;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.carlife.dto.StoreinfoDto;
import org.apache.ibatis.annotations.Update;

import java.util.Date;
import java.util.List;

/**
 * @ClassName: StoreService
 *@Description: 门店数据层
 * @author: yanzhongliang     
 * @date: 2021-04-05
 */

public interface StoreService extends IService<Store> {
    /**
     * 功能描述〈通过门店id查询门店详情〉
     * @author: yanzhongliang
     * @param: storeId
     * @return: List<StoreinfoDto>
     * @Date 2021/4/6 20:12
     * @throws
     */

List<StoreinfoDto> getfindListStoreInfo(Integer storeId);

    /**
     * 功能描述〈根据门店手机号查询门店供后台查看〉
     * @author: yanzhongliang
     * @param: storePhone
     * @return: List<Store>
     * @Date 2021/4/9 10:45
     * @throws
     */

    List<Store> getStoreFindLists(String storeName);

    /**
     * 功能描述〈通过门店ID修改门店图片〉
     * @author: yanzhongliang
     * @param: storeId,storeBusiness
     * @return: message
     * @Date 2021/4/13 16:33
     * @throws
     */

    public void updateImage(Integer storeId, String storeImage);

    /**
     * 功能描述〈通过门店ID修改门店营业执照〉
     * @author: yanzhongliang
     * @param: storeId,storeBusiness
     * @return: message
     * @Date 2021/4/13 16:33
     * @throws
     */

    public void updateBusiness(Integer storeId,String storeBusiness);
}
